package com.yunqing.restkeeper.operator.api.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yunqing.restkeeper.common.utils.Result;
import com.yunqing.restkeeper.operator.api.entity.OperatorUser;

public interface IOperatorUserService extends IService<OperatorUser> {

    IPage<OperatorUser> queryPageByName(int pageNum, int pageSize, String name);

    // 登录
    Result login(String loginName, String loginPass);
}
